.\" Copyright (C) 2007 International Business Machines Corporation
.\"
.de Sh \" Subsection
.br
.if t .Sp
.ne 5
.PP
\fB\\$1\fR
.PP
..
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Ip \" List item
.br
.ie \\n(.$>=3 .ne \\$3
.el .ne 3
.IP "\\$1" \\$2
..
.TH "tpm_setoperatorauth" 8 "2007-10-22" "TPM Management"
.ce 1
TPM Management - tpm_setoperatorauth
.SH NAME
tpm_setoperatorauth \- sets the operator authorization value in the TPM
.SH "SYNOPSIS"
.ad l
.hy 0
.B tpm_setoperatorauth
.RB [ OPTION ]

.SH "DESCRIPTION"
.PP
\fBtpm_setoperatorauth\fR allows setting the operator authorization value in the TPM  
(via the TPM_SetOperatorAuth API).  This operation prompts for the new password and a confirmation of it. The \fB\-\-well-known\fR option tells the API to use the default TSS_WELL_KNOWN_SECRET (a 20-bytes array of zeros) as operator authorization information, instead of prompting for one. 

.TP
\fB\-h\fR, \fB\-\-help\fR
Display command usage info.
.TP
\fB-v\fR, \fB\-\-version\fR
Display command version info.
.TP
\fB-l\fR, \fB\-\-log\fR [none|error|info|debug]
Set logging level.
.TP
\fB-u\fR, \fB\-\-unicode\fR
Use TSS UNICODE encoding for passwords to comply with applications using TSS popup boxes
.TP
\fB-z\fR, \fB\-\-well-known\fR
Use the default TSS_WELL_KNOWN_SECRET 20-bytes array of zeros as the operator password.
.TP
\fB-p\fR, \fB\-\-op_password_unicode\fR
Use TSS UNICODE encoding for new operator password to comply with applications using TSS popup boxes

.SH "SEE ALSO"
.PP
\fBtpm_version\fR(1), \fBtpm_takeownership\fR(8), \fBtcsd\fR(8)

.SH "REPORTING BUGS"
Report bugs to <trousers-users@lists.sourceforge.net>
